#ifndef						__ASYNCMANAGER_H__
#	define					__ASYNCMANAGER_H__


#	include					<boost/asio.hpp>
#	include					<boost/thread.hpp>

class						ServiceManager
{
public:
	ServiceManager();
	~ServiceManager();

private:
	static ServiceManager	*m_instance;

public:
	static ServiceManager	*Instance();
	static void				Kill();

private:
	boost::asio::io_service io_service;
	boost::thread_group		threads;

public:
	boost::asio::io_service	&getService();
	void					init();
};

#endif						// !__SERVICEMANAGER_H__
